//
//  HKFriendTrendViewController.m
//  BaiSiBuDeJie
//
//  Created by 胡锦涛 on 2018/11/29.
//  Copyright © 2018 胡锦涛. All rights reserved.
//

#import "HKFriendTrendViewController.h"
#import "HKLoginRegisterViewController.h"
#import "UITextField+Placeholder.h"
@interface HKFriendTrendViewController ()
@property (weak, nonatomic) IBOutlet UITextField *mdnTF;

@end

@implementation HKFriendTrendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    //self.view.backgroundColor = kYellowColor;
    [self setupNavBar];
    
    _mdnTF.placeholderColor = kGreenColor;
    _mdnTF.placeholder = @"123";
}
#pragma mark - 设置导航条
- (void)setupNavBar
{
    // 左边按钮
    // 把UIButton包装成UIBarButtonItem.就导致按钮点击区域扩大
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithimage:[UIImage imageNamed:@"friendsRecommentIcon"] highImage:[UIImage imageNamed:@"friendsRecommentIcon-click"] target:self action:@selector(friendsRecomment)];
    // titleView
    self.navigationItem.title = @"我的关注";
    
}
- (IBAction)clickLoginRegister:(UIButton *)sender {
    HKLoginRegisterViewController * loginVC = [HKLoginRegisterViewController new];
    [self.navigationController presentViewController:loginVC animated:YES completion:nil];
}

// 推荐关注
- (void)friendsRecomment
{
    
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
